home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hottest 6
/
Hottest 6 (1996)(PDSoft)[!].iso
/
software
/
videoutils
/
a-g
/
ami2d
/
macros
/
rempress.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1978-11-24
|
556b
|
35 lines
/* script to remove pressure BC's */
options results
address ami2d
if ~show('l', "rexxmathlib.library") then do
check = addlib('rexxmathlib.library',0,-30,0)
end
'info(dbc)'
f1 = result
parse var f1 nd i1a s1 type
if i1a = 0 then exit
'info(dbc)'
f2 = result
parse var f2 nd i1b s2 type
if i1b = 0 then exit
if i1a > i1b then do
parse var f2 nd i1a s1 type
parse var f1 nd i1b s2 type
end
in = i1b - i1a
'get inodes'
ni = result - 1
if in > ni then inc = ni
else inc = 1
do i=0 to in by inc
n = i1a + i
'press('n','s1')'
end
exit